﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace RedditWP.Reddit
{
    public class SubReddit
    {

        public string Image { get; set; }
        public string Url { get; set; }
        public string Name { get; set; }

        public SubReddit()
        {
        }

        public SubReddit(string image, string url, string name)
        {
            Image = "/images/reddits/" + (image == "" ? "reddit.com.header.png" : image);
            Url   = (url == "" ? "http://www.reddit.com" : "http://www.reddit.com/r/" + url);
            Name  = name;
        }

    }
}
